const baseUrl = 'http://hmajax.itheima.net'
const getArraySum = arr => arr.reduce((sum, item) => {
    return sum += item
}, 0)

// 默认导出
export default {
    url: baseUrl,
    arraySum: getArraySum
}